package com.gtw.modules.sys.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbProperty;

import java.util.List;
import java.util.Map;

/**
 * 商品属性表
 *
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-01 10:46:46
 */
public interface SysPropertyService {

    Page<TbProperty> queryPageList(Page<TbProperty> page, Map<String, Object> map);

    TbProperty queryObject(Integer id);

    void save(TbProperty property);

    void update(TbProperty property);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    List<TbProperty> findaLLProperty();

    List<TbProperty> findByName(String name);

    List<TbProperty> findByData(String name,String value);
}
